package JuniTest;

import bean.Admin;
import dao.AdminDao;
import dao.impl.AdminDaoImpl;
import junit.framework.TestCase;
import org.junit.Test;

/**
 * @Author leiHua
 * @Date 2022/6/13 23:43
 */
public class AdminDaoTest extends TestCase {
    AdminDaoImpl adminDao = new AdminDaoImpl();
    @Test
    public void testSelect(){
        Admin admin = adminDao.select("admin");
        System.out.println(admin.toString());
    }
}
